-- GENERATED SPELL FOR [Chatter] --


function spell0_616(pUnit, Event) --@Paralyzing Poison,n/a--
pUnit:FullCastSpellOnTarget(3609,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_616', 8272, 1)
end

function spell1_616(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_616', 30000, 1)
end

function Sorts_616(pUnit, Event)
local choix_sorts_616 = math.random(0, 1)
if choix_sorts_616 == 0 then
pUnit:RegisterEvent('spell0_616', 1, 1)
end
if choix_sorts_616 == 1 then
pUnit:RegisterEvent('spell1_616', 1, 1)
end
end

function mob616_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_616', math.random(1500, 3000), 1)
end

function mob616_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob616_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob616_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(616, 1, 'mob616_Action')
RegisterUnitEvent(616, 2, 'mob616_Leave')
RegisterUnitEvent(616, 3, 'mob616_Kill')
RegisterUnitEvent(616, 4, 'mob616_Die')
